package com.atguigu.gulimall.order.dao;

import com.atguigu.gulimall.order.entity.OrderItemEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 订单项信息
 * 
 * @author gaozz
 * @email 1183823016@qq.com
 * @date 2022-11-03 23:04:26
 */
@Mapper
public interface OrderItemDao extends BaseMapper<OrderItemEntity> {

    /**
     * 批量插入订单项信息
     * @param orderItems
     * @return
     */
    Integer insertBatch(@Param("orderItems") List<OrderItemEntity> orderItems);
}
